package co.yixiang.yshop.module.crm.controller.admin.crmbills.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 账单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CrmBillsRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31331")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "门店名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "yshop")
    @ExcelProperty("门店名称")
    private String storeName;

    @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("日期")
    private LocalDate billingDate;

    @Schema(description = "注册数", example = "29752")
    @ExcelProperty("注册数")
    private Integer registerCount;

    @Schema(description = "花费")
    @ExcelProperty("花费")
    private BigDecimal expenditure;
    @ExcelProperty("单价")

    @Schema(description = "单价", example = "30820")
    private BigDecimal unitPrice;

    @Schema(description = "充值金额")
    @ExcelProperty("充值金额")
    private BigDecimal rechargeAmount;

    @Schema(description = "余额")
    @ExcelProperty("余额")
    private BigDecimal balance;

    @Schema(description = "男性占比 (%)")
    @ExcelProperty("男性占比 (%)")
    private BigDecimal malePercentage;

    @Schema(description = "女性占比 (%)")
    @ExcelProperty("女性占比 (%)")
    private BigDecimal femalePercentage;

    @Schema(description = "负责人ID", example = "1349")
    @ExcelProperty("负责人ID")
    private Long ownerUserId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @ExcelProperty("修改时间")
    private LocalDateTime updateTime;

}